package com.modifiertech.lineage.effect;

import net.minecraft.potion.Potion;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.ForgeRegistries;

/**
 * @description: default
 * @author: saliencemn
 * @mail: hackingmu@outlook.com
 * @date: 2024/8/26 22:54
 */
public class EffectRegister {

    public static final Potion STUN_POTION = new EffectStun();

    public static void preInit(FMLPreInitializationEvent event){
        // 注册 Potion
        ForgeRegistries.POTIONS.register(STUN_POTION);
        // 注册事件
        MinecraftForge.EVENT_BUS.register(EffectStun.class);
    }
}
